package com.hytc.mymall.base;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.hytc.mymall.application.ActivityManager;
import com.hytc.mymall.utils.BaseTools;


public class BaseFragmentActivity
        extends FragmentActivity {
    public <T> T $(int paramInt) {
        return (T) findViewById(paramInt);
    }

    protected void onCreate(Bundle paramBundle) {
        super.onCreate(paramBundle);
        ActivityManager.getInstance().addActivity(this);
        BaseTools.setStatusBar(this);
    }

    public void setBackImgVisible() {
        ((RelativeLayout) $(2131100408)).setVisibility(View.VISIBLE);
    }

    public void setTitleName(int paramInt) {
        ((TextView) $(2131100411)).setText(getResources().getString(paramInt));
    }
}



/* Location:           C:\Users\Joker\Desktop\classes_dex2jar.jar

 * Qualified Name:     com.sz.ydgy.base.BaseFragmentActivity

 * JD-Core Version:    0.7.0.1

 */